package com.springcloud.serviceprovision.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class UserController {
    @RequestMapping("/user")
    public String user(@RequestParam("id")String id,@RequestParam("name")String name){
        return name + ",你的id是 " + id;
    }
}
